package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-09-07
 */
@TableName("d_fulugoods")
@Data
public class DFulugoods extends Model<DFulugoods> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 福禄商品id
     */
    @TableField("fulu_goods_id")
    private Integer fuluGoodsId;

    /**
     * 商品标题
     */
    @TableField("goods_title")
    private String goodsTitle;

    /**
     * 商品类型
     */
    @TableField("goods_type")
    private String goodsType;

    /**
     * 商品面值
     */
    @TableField("face_value")
    private double faceValue;

    /**
     * 福禄平台价格
     */
    @TableField("purchase_price")
    private double purchasePrice;

    /**
     * 库存状态：充足0、断货1、警报2
     */
    @TableField("stock_status")
    private int stockStatus;

    /**
     * 销售状态：上架0、下架1、维护中2、库存维护3
     */
    @TableField("fulu_status")
    private int fuluStatus;

    @TableField("status")
    private int status;

    @TableField("coupon_id")
    private int couponId;

    @TableField("update_time")
    private Date updateTime;
}
